import {lazy} from 'react';
import Home from '../pages/Home';
import My from '../pages/My';
import notFound from '../pages/404';
const routes = [
	{
		path: "/home",
		title: "首页",
		showTabBar: true,
		component: Home
	},
	{
		path: "/my",
		title: "我的",
		showTabBar: true,
		component: My
	},
	{
		path: "/404",
		title: "404",
		component: notFound
	},
	{
		path: "/addressList",
		title: "地址列表",
		component: lazy(() => import('../pages/AddressList'))
	}
]
export default routes;